//
//  UserDefaults.h
//  MoreFun
//
//  Created by Pro on 2018/5/12.
//  Copyright © 2018年 Pro. All rights reserved.
//

#ifndef UserDefaults_h
#define UserDefaults_h

//NSUserDefault缓存
#define SAVEDEFAULTS(value,key) [[NSUserDefaults standardUserDefaults] setObject:value forKey:key];\
[[NSUserDefaults standardUserDefaults] synchronize];

#define GETDEFAULTS(key) [[NSUserDefaults standardUserDefaults] objectForKey:key];


#define kUserId     @"kUserIdentifier"
#define kSecurityId @"kSecurityIdentifier"
#define kUserAvatar @"kUserAtarImage"

#endif /* UserDefaults_h */
